package com.qdu.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ellery2018
 * @since 2022-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Photo对象", description="")
public class Photo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "拍照记录 ID")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户 ID")
    @TableField("userId")
    private Integer userId;

    @ApiModelProperty(value = "路线 ID")
    @TableField("routeId")
    private Integer routeId;

    @ApiModelProperty(value = "pose名称")
    private String pose;

    @ApiModelProperty(value = "拍照打卡时间")
    private Date time;

    @ApiModelProperty(value = "图片url")
    @TableField("pictureUrl")
    private String pictureUrl;


}
